package cn.gson.boot.model.mapper;

import cn.gson.boot.model.pojos.Attribute;
import cn.gson.boot.model.pojos.ChanpincongbiaoShuxinzhi;
import cn.gson.boot.model.pojos.Supplier;
import cn.gson.boot.model.pojos.SupplierContact;
import org.springframework.data.repository.query.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface SupplierMapper {

    //供应商分页查询
    List<Supplier> selectAllSuppliers(String search);

    //根据供应商id查询有哪些供应商联系人
    List<SupplierContact> selectContacts(Integer supplierId);

    //修改供应商
    List<Supplier> upSupplier(Integer supplierId);
}
